package cn.rui.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 徽州大都督
 * @date 2021/05/14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tbl_permission")
public class Permission implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String permissionCode;

    @TableLogic
    private Integer deleted;

    private String permissionName;
}
